﻿using Daq.ViewModels;
using System.Collections;
using Telerik.Windows.Documents.Spreadsheet.Expressions.Functions;
using Telerik.Windows.DragDrop.Behaviors;

namespace Daq.Converters
{
    internal class ChannelNameToChartConverter : DataConverter
    {
        public override string[] GetConvertToFormats()
        {
            return new string[] { typeof(Product).FullName ?? "", typeof(string).FullName ?? "" };
        }
        public override object ConvertTo(object data, string format)
        {
            //var payload = (IEnumerable)DataObjectHelper.GetData(data, typeof(string), false);
            //if (payload != null)
            //{
            //    return new ChartChannelDataModel() { Name = payload.ToString() ?? "" };
            //}
            return "";
        }
    }
}
